package io.github.junxworks.qt.modules.data.service;

import java.util.List;

import io.github.junxworks.qt.modules.data.entity.DStockRealtime;

/**
 * @program :springbootdev
 * @description:
 * @author:Junxworks
 * @create:2019-08-17 10:54
 */
public interface RealtimeService {
	/**
	 * 获取当前的实时数据
	 *
	 * @return the realtime data
	 */
	List<DStockRealtime> getRealtimeData(int timepoint);

	/**
	 * 获取指定股票代码的实时数据
	 *
	 * @param timePoint the time point
	 * @param codes the codes
	 * @return the real time date by code
	 */
	List<DStockRealtime> getRealTimeDateByCode(int timePoint, List<String> codes);
}
